package day02;
//变量的演示
public class VarDemo {
    public static void main(String[] args) {
        int a;//声明一个整型变量，名为a
        int b,c,d;//声明三个整型变量
        //int a;

        int e = 230;
        int f;
        f=100;
        f=360;
        int g=5,h=10,i=15;

        int j = 5 ;
        int k = j+10;
        System.out.println(k);
        System.out.println("k");
        j=j+10;
        System.out.println(j);
        int balance = 5000;
        balance = balance - 1000;
        System.out.println(balance);
        //System.out.println(m);//编译错误，变量未声明
        int m;
        //System.out.println(m);//编译错误，m未初始化

        //4)变量的命名
        int a1,a_5,a$_1;
        //int a*b;
        //int 1a;
        int aa = 5;
        //System.out.println(aA);
        //int class;
        int 年龄;//可以但不建议
        int nianling;//必须杜绝
        int age ;
        int score,myScore,myJavaScore;






    }
}
